﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace JXC.Core.Models
{
    /// <summary>
    /// 库存文件
    /// </summary>
    public class NventoryFile
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Guid Commodity { get; set; }//商品
        [ForeignKey("CinfoId")]
        public Guid Warehouse { get; set; }//仓库
        public int QuantityInStock { get; set; }//库存数量
        public Cinfo Cinfo { get; set; }
        
    }
}
